package com.jzqf.wan

import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
import com.jzqf.wan.ui.screen.WanLoginScreen
import com.jzqf.wan.ui.screen.WanScreen

const val WanRoute = "WanScreen"

fun NavGraphBuilder.wanScreen(onNavigateTo: (String) -> Unit) {
    composable(route = WanRoute) {
        WanScreen(onNavigateTo = onNavigateTo)
    }
    composable(
        route = WanRoute,
    ) {
        WanLoginScreen(onNavigateTo = onNavigateTo)
    }

}
